using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace <Application>.<Presentation>
{
    public partial class frmMain : Window
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void Exit_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }

    <Table Loop>
        private void <OwnerU><TableU>_Click(object sender, RoutedEventArgs e)
        {
            <Application>.<Presentation>.frm<OwnerU>_<TableU> m = new <Application>.<Presentation>.frm<OwnerU>_<TableU>();
            m.Owner = this;
            m.Show();
        }

    </Table Loop>
    }
}
